import request from '@/utils/request'
import qs from 'qs'


export function getUserInfo(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}

export function editUserInfo(url, data) {
    return request({
        url: url,
        data,
        method: 'post'
    })
}


export function checkMobile(url, data) {
    return request({
        url: url,
        data,
        method: 'post'
    })
}

export function sendMobileCode(url, data) {
    return request({
        url: url,
        data,
        method: 'post'
    })
}

export function getSuggestList(url, params) {
    return request({
        url: url,
        params,
        method: 'post'
    })
}


export function updatePhone(url, data) {
    return request({
        url: url,
        data,
        method: 'post'
    })
}


export function getMailList(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}


export function getCollectData(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}


export function getSubscibeData(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}

export function getUserLikeData(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}

export function getwordCloud(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}

export function cancleCollectData(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}

export function cancleMysubscibeData(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}

export function hudongData(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}

export function getMyThingData(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}


// 2020-10-10 liuyang
export function getRequest(url, params) {
    return request({
        url: url,
        params,
        method: 'get'
    })
}

export function postRequest(url, data) {
    return request({
        url: url,
        data,
        method: 'post'
    })
}
export function policyRequest(url, params) {
    return request({
        url: url,
        params,
        method: 'post'
    })
}


